clip_to_allocation: true });
this._box._delegate = this;
- // This will eventually be automatic, see
- // https://bugzilla.gnome.org/show_bug.cgi?id=584662
- if (St.Widget.get_default_direction () == St.TextDirection.RTL)
- this._box.add_style_pseudo_class('rtl');
-
this.actor = new St.Bin({ y_align: St.Align.START, child: this._box });
this.actor.connect('notify::height', Lang.bind(this,
function() {
this._centerBox = new St.BoxLayout({ name: 'panelCenter' });
this._rightBox = new St.BoxLayout({ name: 'panelRight' });
- // This will eventually be automatic, see
- // https://bugzilla.gnome.org/show_bug.cgi?id=584662
- if (St.Widget.get_default_direction() == St.TextDirection.RTL) {
- this._leftBox.add_style_pseudo_class('rtl');
- this._rightBox.add_style_pseudo_class('rtl');
- }
-
this._leftCorner = new PanelCorner(St.Side.LEFT);
this._rightCorner = new PanelCorner(St.Side.RIGHT);
// for the border and padding of the background actor.
this._background = new St.Bin({ style_class: 'workspace-thumbnails-background' });
- // This will eventually be automatic, see https://bugzilla.gnome.org/show_bug.cgi?id=584662
- if (St.Widget.get_default_direction () == St.TextDirection.RTL)
- this._background.add_style_pseudo_class('rtl');
-
this.actor.add_actor(this._background);
let indicator = new St.Bin({ style_class: 'workspace-thumbnail-indicator' });